import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
const app = createApp(App)

import '/public/mock-data/project.d.ts'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// main.ts
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import Echarts from "vue-echarts"
import * as echarts from "echarts"

app.component("v-chart", Echarts)

app.config.globalProperties.$echarts = echarts

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

app.use(ElementPlus)
app.mount('#app')
